//
//  DiaryOCTableViewCell.h
//  MoodDiary
//
//  Created by MoodDiary on 2020/12/7.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol DiaryOCTableViewCellDelegate <NSObject>

- (void)diaryOCTableViewCellSelectIndex:(NSIndexPath *)indexPath;

@end

@interface DiaryOCTableViewCell : UITableViewCell <UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout>

@property (weak, nonatomic) IBOutlet UIImageView *imgV;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;
@property (weak, nonatomic) IBOutlet UITextView *contentTextView;
@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;
@property (weak, nonatomic) IBOutlet UIButton *btn;
@property (weak, nonatomic) IBOutlet UIView *lineView;

@property (weak, nonatomic) id <DiaryOCTableViewCellDelegate> delegate;
@property (strong, nonatomic) NSIndexPath *indexPath;

@property (strong, nonatomic) NSArray *array;

@end

NS_ASSUME_NONNULL_END
